package com.bsoft.gol.hcs.followup.service;

import ctd.spring.boot.annotation.SsdevService;
import ctd.util.annotation.RpcService;
import com.bsoft.gol.hcs.followup.dao.FormPropertyDAO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import com.bsoft.gol.hcs.specialist.entity.FormProperty;

import java.util.List;

/**
 * @program: Myproject
 * @description:
 * @author: zangsf
 * @create: 2022-11-30 14:27
 **/
@SsdevService("formPropertyService")
@Slf4j
public class FormPropertyService {

    @Autowired
    private FormPropertyDAO formPropertyDAO;

    //这个对于表单属性只能新增不能删除应产品需要(定世都)
    @RpcService
    public List<FormProperty> findAllFormProperty() {
        List<FormProperty> formProperties = formPropertyDAO.findFormPropertyList();
        return formProperties;
    }
}
